package com.huisenky.smallidea.diff.comment;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * diff 注解配置类
 * 该对象将被用来获取diff的comment
 *
 * @author henry
 */
@Data
@AllArgsConstructor
public class DiffComment {
    /**
     * 必须配置注解类的全限定名
     */
    private String annotation;
    private String annotationMethod;
    private String[] ignoreProperties;

    public DiffComment() {
        this.annotation = "io.swagger.annotations.ApiModelProperty";
        this.annotationMethod = "value";
        this.ignoreProperties = new String[]{};
    }
}
